package com.hsmw.api.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsmw.domain.HsmwConstructionPosition;
import com.hsmw.domain.HsmwOrderForceManRelation;
import com.hsmw.domain.HsmwOrderVehicleRelation;
import com.hsmw.domain.HsmwOrderVehicleRequest;
import com.hsmw.domain.vo.VehicleInfoVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;
@Data
public class CurrentOrderInfoVO {

    @ApiModelProperty(value = "项目ID")
    private String itemId;

    @ApiModelProperty(value = "项目名称")
    private String itemName;

    @ApiModelProperty(value = "项目施工位置")
    private String itemPosition;

    @ApiModelProperty(value = "施工部位")
    private String constructionPosition;
    @ApiModelProperty(value = "预计方量")
    private String expectVolume;

    @ApiModelProperty(value = "订单状态：待发布、发布中、已接单、进行中、已完成、已结束、已取消")
    private String orderStatus;


    @ApiModelProperty(value = "语音备注")
    private String  audioRemark;


    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "预计到达到达时间")
    private LocalDateTime reachTime;


    @ApiModelProperty(value = "要求到达时间")
    private String estimateTime;

    @ApiModelProperty(value = "泵车接单时间")
    private String receivingTime;

    @ApiModelProperty(value = "泵车出发时间")
    private String setoutTime;

    @ApiModelProperty(value = "泵车实际到达时间")
    private String actualReachTime;

    @ApiModelProperty(value = "订单完成时间")
    private String completeTime;

    @ApiModelProperty(value = "经度")
    private String lng;

    @ApiModelProperty(value = "纬度")
    private String lat;


    @ApiModelProperty(value = "所需车数量")
    private int reqCount;


    @ApiModelProperty(value = "工长联系人")
    private String foremanLinkMan;

    @ApiModelProperty(value = "工长联系方式")
    private String foremanLinkTel;

    @ApiModelProperty(value = "子订单ID")
    private String  orderVehicleRelationId;

    @ApiModelProperty(value = "订单需求表ID")
    private String orderVehicleRequestId;

    @ApiModelProperty(value = "订单需求表ID")
    private String distributeInfoId;

    @ApiModelProperty(value = "车辆Imei号码")
    private String  imeiNum;

    @ApiModelProperty(value = "车辆牌号码")
    private String  vehicleNum;

    @ApiModelProperty(value = "订单ID")
    private String  orderId;

    @ApiModelProperty(value = "子订单ID")
    private String  relaId;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "审核前的状态")
    private String orderStatusBefore;

    @ApiModelProperty(value = "车辆高度")
    private Integer height;

    @ApiModelProperty(value = "宽度")
    private Integer width;

    @ApiModelProperty(value = "车轴数量")
    private Integer axis;

    @ApiModelProperty(value = "车辆长度")
    private Integer length;

    @ApiModelProperty(value = "车重量")
    private Integer weight;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "创建人姓名")
    private String createUserName;

    @ApiModelProperty(value = "创建人电话")
    private String createUserTel;

    @ApiModelProperty(value = "工长头像")
    private String avatar;

    @ApiModelProperty(value = "创建人")
    private String vehicleType;

    @ApiModelProperty(value = "工长头像")
    private String vehicleModel;

    @ApiModelProperty(value = "其他备注")
    private String otherRemark;

    @ApiModelProperty(value = "接单时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "开始工作时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startWorkTime;

    @ApiModelProperty(value = "施工单位")
    private String constructionUnitName;


    @ApiModelProperty(value = "施工单位")
    private String ifBizSign;

    @ApiModelProperty(value = "施工单位")
    private String rangeNum;

    @ApiModelProperty(value = "施工单位")
    private String signRangeNum;

    @ApiModelProperty(value = "施工单位")
    private String linkmanType;

    @ApiModelProperty(value = "施工单位")
    private String linkmanId;

    @ApiModelProperty(value = "订单信息")
    private List<HsmwConstructionPosition> hsmwConstructionPositions;

    @ApiModelProperty(value = "需求车辆信息")
    private List<VehicleStatisticsVO> vehicleStatisticsVOS;

    @ApiModelProperty(value = "结算公司名称")
    private String ownCompanyName;

    @ApiModelProperty(value = "是否是外族泵车 0 否 1 是")
    private String outsideLeasingFlag;

    @ApiModelProperty(value = "版本号")
    private String version;
}

